<%@ page language="java" contentType="text/html;charset=UTF-8" %>
<%@ include file="/static/include/taglib.jsp" %>
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>后台管理--菜单列表</title>
    <link href="${ctxStatic}/layui/css/layui.css" rel="stylesheet"/>
    <link href="${ctxStatic}/ligeruilib/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css">
    <link href="${ctxStatic}/css/kpiui.css" rel="stylesheet"/>
    <script src="${ctxStatic}/js/jquery-1.8.3.min.js?v=2.0" type="text/javascript"></script>
    <script src="${ctxStatic}/layui/layui.all.js" type="text/javascript"></script>
    <script src="${ctxStatic}/ligeruilib/ligerUI/js/core/base.js" type="text/javascript"></script>
    <script src="${ctxStatic}/ligeruilib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
    <script src="${ctxStatic}/ligeruilib/ligerUI/js/plugins/ligerTree.js" type="text/javascript"></script>
    <script src="${ctxStatic}/ligeruilib/ligerUI/js/plugins/ligerComboBox.js" type="text/javascript"></script>
    <script src="${ctxStatic}/js/common.js" type="text/javascript"></script>
    <script src="${ctxStatic}/js/payassessment/transpay.js?v=<%=System.currentTimeMillis()%>"
            type="text/javascript"></script>
    <script src="${ctxStatic}/img/canvg2.js" type="text/javascript"></script>
    <script src="${ctxStatic}/img/html2canvas-0.4.1.js" type="text/javascript"></script>
    <script src="${ctxStatic}/img/canvg2.js" type="text/javascript"></script>
    <script src="${ctxStatic}/img/jspdf.min.js" type="text/javascript"></script>

    <style>
        #detail .layui-table-view .layui-table-header th {
            padding: 0
        }

        #detail .layui-table-view {
            margin: 0 0 10px 0
        }

        .l-text-field {
            height: 30px
        }



    </style>

    <script>
        var ctxStatic = "${ctxStatic}";
        var ctx = "${ctx}";
    </script>
</head>
<body>
<div class="currentnav"><span class="tiao"></span><span class="navtitle">分局交通补助归档</span></div>

<div class="tabregion">


    <div class="layui-tab layui-tab-brief" lay-filter="tabcontent">
        <ul class="layui-tab-title">
            <li lay-id="1" class="layui-this">部门交通补助列表</li>
            <li lay-id="2">部门详情</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">

                <div class="serchcontent">
                    <div class="search">
                        <div class="layui-form">
                            <table>
                                <tr>
                                    <td class="td_select" style="width:100px">
                                        <select id="year" placeholder="年份" lay-filter="year">
                                            <option value="2025">2025年</option>
                                            <option value="2024">2024年</option>
                                            <option value="2023">2023年</option>
                                            <option value="2022">2022年</option>
                                            <option value="2021">2021年</option>
                                            <option value="2020">2020年</option>
                                            <option value="2019">2019年</option>
                                            <option value="2018">2018年</option>
                                            <option value="2017">2017年</option>
                                        </select>
                                        <input type="hidden" id="hidyear" value="${year}">
                                        <input type="hidden" id="hidAdmin" value="${isadmin}">
                                    </td>
                                    <td class="td_select" style="width:100px">
                                        <select id="month" lay-filter="month">
                                            <option value="0">全年</option>
                                            <option value="1">1月</option>
                                            <option value="2">2月</option>
                                            <option value="3">3月</option>
                                            <option value="4">4月</option>
                                            <option value="5">5月</option>
                                            <option value="6">6月</option>
                                            <option value="7">7月</option>
                                            <option value="8">8月</option>
                                            <option value="9">9月</option>
                                            <option value="10">10月</option>
                                            <option value="11">11月</option>
                                            <option value="12">12月</option>
                                        </select>
                                        <input type="hidden" id="hidmonth" value="${month}">
                                    </td>
                                    <td class="td_select" style="width:100px">
                                        <select id="status" lay-filter="status">
                                            <option value="">所有</option>
                                            <option value="0">填报</option>
                                            <option value="1">确认</option>
                                            <option value="2">归档</option>
                                            <%--<option value="3">驳回</option>--%>
                                        </select>
                                        <input type="hidden" id="hidstatus" value="">
                                    </td>
                                    <td>所在单位：</td>
                                    <td style="width:300px">
                                        <input type="text" id="orgid" class="layui-input">
                                        <input type="hidden" id="hidorgid" name="orgid" value="">
                                    </td>

                                    <td style="text-align: center;width:300px">
                                        <!--  <button class="button" onclick="vTransPay.searchtableorgsuy()"><img src="${ctxStatic}/images/button/chaxun.png" style="width:20px">查询</button>-->
                                        <button class="button" onclick="vTransPay.searchlist()"><img
                                                src="${ctxStatic}/images/button/chaxun.png" style="width:20px">查询
                                        </button>
                                        <button class="button" onclick="vTransPay.guidang()"><img
                                                src="${ctxStatic}/images/button/guidang.png">部门归档
                                        </button>
                                        <button class="button" onclick="vTransPay.exportexcelall()">导出打印</button>
                                    </td>
                                </tr>
                            </table>


                        </div>
                    </div>
                </div>

                <div class="content" style="margin-top:10px">
                    <div id="orgsuylist" class="list" lay-filter="orgsuylist"></div>
                    <script type="text/html" id="operateorgsuy">
                        <%--{{#  if(d.status != null){ }}--%>
                        <%--<img class="btn-img" src="${ctxStatic}/images/button/detail.png" lay-event="detail" alt="详情" title="详情">      --%>
                        <%--{{#  } }}--%>
                        <%--{{#  if(d.status == null && d.usercount>0){ }}--%>
                        <%--<img class="btn-img" src="${ctxStatic}/images/index/yaosu.png" lay-event="shengcheng" alt="生成考勤" title="生成考勤">--%>
                        <%--{{#  } }}--%>
                        <%--{{#  if(d.status==1){ }}--%>
                        <%--<img class="btn-img" src="${ctxStatic}/images/button/guidang.png" lay-event="guidang" alt="归档" title="归档">--%>
                        <%--<img class="btn-img" src="${ctxStatic}/images/button/bohui.png" lay-event="bohui" alt="驳回" title="驳回">--%>
                        <%--{{#  } }}--%>

                    </script>
                </div>
            </div>

            <div class="layui-tab-item">

                <div class="serchcontent" style="margin-bottom:10px">
                    <div class="search">
                        <div class="layui-form">
                            <table>
                                <tr>
                                    <td>姓名：</td>
                                    <td style="width:120px"><input type="text" style="width:120px" class="text"
                                                                   id="realname"/></td>
                                    <td>
                                        <input type="button" class="button" value="查询"
                                               onclick="vTransPay.querydetail()"/>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                </div>
                <div class="content" id="detail">

                    <div class="table_title" id="table_title"></div>
                    <table class="layui-table" lay-data="" lay-filter="attfjgdlist">
                        <thead>
                        <tr>
                            <th lay-data="{align: 'center', toolbar: '#operate1'}" colspan="6">${title}</th>
                            <th lay-data="{field:'status', width:100,align:'center'}" rowspan="3">状态</th>
                            <th lay-data="{field:'lostMoney', width:170,align:'center'}" rowspan="3">交通补助贴扣减</th>
                            <th lay-data="{field:'nowMoney', width:150,align:'center',edit: 'text'}" rowspan="3">
                                交通补助金额
                            </th>
                        </tr>
                        <tr>
                            <th lay-data="{field:'rowNum', width:70,align:'center'}" rowspan="2">序号</th>
                            <th lay-data="{field:'orgname', width:200,align:'center'}" rowspan="2">单位</th>
                            <th lay-data="{field:'cardno', width:180,align:'center'}" rowspan="2">身份证号</th>
                            <th lay-data="{field:'realname', width:100,align:'center'}" rowspan="2">姓名</th>
                            <th lay-data="{field:'fallVaca', width:100,align:'center',style:'color: #FCFF04;'}">病假</th>
                            <th lay-data="{field:'matterVaca', width:100,align:'center',style:'color: #FCFF04;'}">事假
                            </th>
                        </tr>
                        </thead>
                    </table>
                    <div class="bottom_tab" id="bottom_btns">
                        <button class="button" onclick="vTransPay.exportexcel()"><img
                                src="${ctxStatic}/images/button/daochu.png">导出
                        </button>
                        <button class="button" onclick="vTransPay.save()"><img
                                src="${ctxStatic}/images/button/daochu.png">修改
                        </button>
                    </div>

                </div>

            </div>
        </div>
    </div>


</body>
</html>